import request from '@/request'



/**
 * 获取所有学生的详细信息
 * @param {*} page 
 * @param {*} pagesize 
 * @param {*} option 
 * @returns 
 */
export function getStudentDetailNotInSchool(page, pagesize, option) {
  return request({
    url: `/admin/detail/list/${page*pagesize}/${pagesize}/${option}`,
    method: 'get'
  })
}


/**
 * 
 * 获取所有学生情况的总数
 * @param {*} isInShcool 
 * @returns 
 */
export function getStudentTotal(isInShcool) {
  return request({
    url: `/admin/detail/count/${isInShcool}`,
    method: 'get'
  })
}